package com.swt.draw.example;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class Fla55Example {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public Fla55Example() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLbidIsNull() {
            addCriterion("LBID is null");
            return (Criteria) this;
        }

        public Criteria andLbidIsNotNull() {
            addCriterion("LBID is not null");
            return (Criteria) this;
        }

        public Criteria andLbidEqualTo(Short value) {
            addCriterion("LBID =", value, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidNotEqualTo(Short value) {
            addCriterion("LBID <>", value, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidGreaterThan(Short value) {
            addCriterion("LBID >", value, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidGreaterThanOrEqualTo(Short value) {
            addCriterion("LBID >=", value, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidLessThan(Short value) {
            addCriterion("LBID <", value, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidLessThanOrEqualTo(Short value) {
            addCriterion("LBID <=", value, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidIn(List<Short> values) {
            addCriterion("LBID in", values, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidNotIn(List<Short> values) {
            addCriterion("LBID not in", values, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidBetween(Short value1, Short value2) {
            addCriterion("LBID between", value1, value2, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbidNotBetween(Short value1, Short value2) {
            addCriterion("LBID not between", value1, value2, "lbid");
            return (Criteria) this;
        }

        public Criteria andLbIsNull() {
            addCriterion("LB is null");
            return (Criteria) this;
        }

        public Criteria andLbIsNotNull() {
            addCriterion("LB is not null");
            return (Criteria) this;
        }

        public Criteria andLbEqualTo(String value) {
            addCriterion("LB =", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbNotEqualTo(String value) {
            addCriterion("LB <>", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbGreaterThan(String value) {
            addCriterion("LB >", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbGreaterThanOrEqualTo(String value) {
            addCriterion("LB >=", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbLessThan(String value) {
            addCriterion("LB <", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbLessThanOrEqualTo(String value) {
            addCriterion("LB <=", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbLike(String value) {
            addCriterion("LB like", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbNotLike(String value) {
            addCriterion("LB not like", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbIn(List<String> values) {
            addCriterion("LB in", values, "lb");
            return (Criteria) this;
        }

        public Criteria andLbNotIn(List<String> values) {
            addCriterion("LB not in", values, "lb");
            return (Criteria) this;
        }

        public Criteria andLbBetween(String value1, String value2) {
            addCriterion("LB between", value1, value2, "lb");
            return (Criteria) this;
        }

        public Criteria andLbNotBetween(String value1, String value2) {
            addCriterion("LB not between", value1, value2, "lb");
            return (Criteria) this;
        }

        public Criteria andMcidIsNull() {
            addCriterion("MCID is null");
            return (Criteria) this;
        }

        public Criteria andMcidIsNotNull() {
            addCriterion("MCID is not null");
            return (Criteria) this;
        }

        public Criteria andMcidEqualTo(Integer value) {
            addCriterion("MCID =", value, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidNotEqualTo(Integer value) {
            addCriterion("MCID <>", value, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidGreaterThan(Integer value) {
            addCriterion("MCID >", value, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidGreaterThanOrEqualTo(Integer value) {
            addCriterion("MCID >=", value, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidLessThan(Integer value) {
            addCriterion("MCID <", value, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidLessThanOrEqualTo(Integer value) {
            addCriterion("MCID <=", value, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidIn(List<Integer> values) {
            addCriterion("MCID in", values, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidNotIn(List<Integer> values) {
            addCriterion("MCID not in", values, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidBetween(Integer value1, Integer value2) {
            addCriterion("MCID between", value1, value2, "mcid");
            return (Criteria) this;
        }

        public Criteria andMcidNotBetween(Integer value1, Integer value2) {
            addCriterion("MCID not between", value1, value2, "mcid");
            return (Criteria) this;
        }

        public Criteria andDmmcIsNull() {
            addCriterion("DMMC is null");
            return (Criteria) this;
        }

        public Criteria andDmmcIsNotNull() {
            addCriterion("DMMC is not null");
            return (Criteria) this;
        }

        public Criteria andDmmcEqualTo(String value) {
            addCriterion("DMMC =", value, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcNotEqualTo(String value) {
            addCriterion("DMMC <>", value, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcGreaterThan(String value) {
            addCriterion("DMMC >", value, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcGreaterThanOrEqualTo(String value) {
            addCriterion("DMMC >=", value, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcLessThan(String value) {
            addCriterion("DMMC <", value, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcLessThanOrEqualTo(String value) {
            addCriterion("DMMC <=", value, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcLike(String value) {
            addCriterion("DMMC like", value, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcNotLike(String value) {
            addCriterion("DMMC not like", value, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcIn(List<String> values) {
            addCriterion("DMMC in", values, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcNotIn(List<String> values) {
            addCriterion("DMMC not in", values, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcBetween(String value1, String value2) {
            addCriterion("DMMC between", value1, value2, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmmcNotBetween(String value1, String value2) {
            addCriterion("DMMC not between", value1, value2, "dmmc");
            return (Criteria) this;
        }

        public Criteria andDmIsNull() {
            addCriterion("DM is null");
            return (Criteria) this;
        }

        public Criteria andDmIsNotNull() {
            addCriterion("DM is not null");
            return (Criteria) this;
        }

        public Criteria andDmEqualTo(String value) {
            addCriterion("DM =", value, "dm");
            return (Criteria) this;
        }

        public Criteria andDmNotEqualTo(String value) {
            addCriterion("DM <>", value, "dm");
            return (Criteria) this;
        }

        public Criteria andDmGreaterThan(String value) {
            addCriterion("DM >", value, "dm");
            return (Criteria) this;
        }

        public Criteria andDmGreaterThanOrEqualTo(String value) {
            addCriterion("DM >=", value, "dm");
            return (Criteria) this;
        }

        public Criteria andDmLessThan(String value) {
            addCriterion("DM <", value, "dm");
            return (Criteria) this;
        }

        public Criteria andDmLessThanOrEqualTo(String value) {
            addCriterion("DM <=", value, "dm");
            return (Criteria) this;
        }

        public Criteria andDmLike(String value) {
            addCriterion("DM like", value, "dm");
            return (Criteria) this;
        }

        public Criteria andDmNotLike(String value) {
            addCriterion("DM not like", value, "dm");
            return (Criteria) this;
        }

        public Criteria andDmIn(List<String> values) {
            addCriterion("DM in", values, "dm");
            return (Criteria) this;
        }

        public Criteria andDmNotIn(List<String> values) {
            addCriterion("DM not in", values, "dm");
            return (Criteria) this;
        }

        public Criteria andDmBetween(String value1, String value2) {
            addCriterion("DM between", value1, value2, "dm");
            return (Criteria) this;
        }

        public Criteria andDmNotBetween(String value1, String value2) {
            addCriterion("DM not between", value1, value2, "dm");
            return (Criteria) this;
        }

        public Criteria andCycIsNull() {
            addCriterion("CYC is null");
            return (Criteria) this;
        }

        public Criteria andCycIsNotNull() {
            addCriterion("CYC is not null");
            return (Criteria) this;
        }

        public Criteria andCycEqualTo(String value) {
            addCriterion("CYC =", value, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycNotEqualTo(String value) {
            addCriterion("CYC <>", value, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycGreaterThan(String value) {
            addCriterion("CYC >", value, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycGreaterThanOrEqualTo(String value) {
            addCriterion("CYC >=", value, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycLessThan(String value) {
            addCriterion("CYC <", value, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycLessThanOrEqualTo(String value) {
            addCriterion("CYC <=", value, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycLike(String value) {
            addCriterion("CYC like", value, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycNotLike(String value) {
            addCriterion("CYC not like", value, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycIn(List<String> values) {
            addCriterion("CYC in", values, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycNotIn(List<String> values) {
            addCriterion("CYC not in", values, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycBetween(String value1, String value2) {
            addCriterion("CYC between", value1, value2, "cyc");
            return (Criteria) this;
        }

        public Criteria andCycNotBetween(String value1, String value2) {
            addCriterion("CYC not between", value1, value2, "cyc");
            return (Criteria) this;
        }

        public Criteria andGjmcIsNull() {
            addCriterion("GJMC is null");
            return (Criteria) this;
        }

        public Criteria andGjmcIsNotNull() {
            addCriterion("GJMC is not null");
            return (Criteria) this;
        }

        public Criteria andGjmcEqualTo(String value) {
            addCriterion("GJMC =", value, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcNotEqualTo(String value) {
            addCriterion("GJMC <>", value, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcGreaterThan(String value) {
            addCriterion("GJMC >", value, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcGreaterThanOrEqualTo(String value) {
            addCriterion("GJMC >=", value, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcLessThan(String value) {
            addCriterion("GJMC <", value, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcLessThanOrEqualTo(String value) {
            addCriterion("GJMC <=", value, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcLike(String value) {
            addCriterion("GJMC like", value, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcNotLike(String value) {
            addCriterion("GJMC not like", value, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcIn(List<String> values) {
            addCriterion("GJMC in", values, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcNotIn(List<String> values) {
            addCriterion("GJMC not in", values, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcBetween(String value1, String value2) {
            addCriterion("GJMC between", value1, value2, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjmcNotBetween(String value1, String value2) {
            addCriterion("GJMC not between", value1, value2, "gjmc");
            return (Criteria) this;
        }

        public Criteria andGjxhIsNull() {
            addCriterion("GJXH is null");
            return (Criteria) this;
        }

        public Criteria andGjxhIsNotNull() {
            addCriterion("GJXH is not null");
            return (Criteria) this;
        }

        public Criteria andGjxhEqualTo(String value) {
            addCriterion("GJXH =", value, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhNotEqualTo(String value) {
            addCriterion("GJXH <>", value, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhGreaterThan(String value) {
            addCriterion("GJXH >", value, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhGreaterThanOrEqualTo(String value) {
            addCriterion("GJXH >=", value, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhLessThan(String value) {
            addCriterion("GJXH <", value, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhLessThanOrEqualTo(String value) {
            addCriterion("GJXH <=", value, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhLike(String value) {
            addCriterion("GJXH like", value, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhNotLike(String value) {
            addCriterion("GJXH not like", value, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhIn(List<String> values) {
            addCriterion("GJXH in", values, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhNotIn(List<String> values) {
            addCriterion("GJXH not in", values, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhBetween(String value1, String value2) {
            addCriterion("GJXH between", value1, value2, "gjxh");
            return (Criteria) this;
        }

        public Criteria andGjxhNotBetween(String value1, String value2) {
            addCriterion("GJXH not between", value1, value2, "gjxh");
            return (Criteria) this;
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(BigDecimal value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(BigDecimal value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(BigDecimal value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(BigDecimal value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<BigDecimal> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<BigDecimal> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}